package com.fjnu.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @desc:
 * @author:
 * @date:
 */
@Data
public class User {
    /**
     * todo: 补充完成User的各属性，尤其User关联的多roles属性
     */
    private String userId;

    private String username;

    private String password;

    private String salt;

    private String nickname;

    private String email;

    private String phone;

    private Integer sex;

    private Integer age;

    private String img;

    private Integer status;

    private String createTime;

    private String updateTime;

    private List<Role> roles;
}
